<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>

    <link rel="icon" href="http://openstd.samr.gov.cn/bzgk/favicon.ico"/>
    <link rel="shortcut icon" href="http://openstd.samr.gov.cn/bzgk/favicon.ico"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>

    <link href="static/css/qbcx.css" rel="stylesheet" type="text/css"/>
    <link href="static/css/bootstrap.min.css" rel="stylesheet"/>
    <script type="text/javascript" src="static/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="static/js/data.js"></script>

    <style>
        @media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
            body {
                width: 1px;
                min-width: 100%;
                *width: 100%;
            }

            #stage {
                overflow: auto;
                min-height: 100vh;
                -webkit-overflow-scrolling: touch;
            }
        }

        body {
            background-color: #f5f5f5;
        }

        .screenOrder {
            cursor: pointer;
        }

        .result_list th {
            padding: 0 !important;
            line-height: 35px !important;
        }

        /*.container{background-color:#ffffff;}*/
    </style>
</head>
<body class="vsc-initialized">

<div style="background-color:rgb(39,86,156);">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div style="color:#ff9c3d;padding:5px 0"></div>
            </div>
        </div>
    </div>
</div>
<!-- 显示LOGO区域 -->
<!-- 放置纯色背景 -->
<div style="width:100%;background-image:url(static/images/bannerbg.jpg);">
    <div class="container">
        <div class="row hidden-xs hidden-sm" style="position:relative;height:180px;">
            <!-- 主要LOGO -->
            <img src="static/images/main-logo.png" style="position:absolute;z-index:1000;top:50px;left:30px;"/>
            <img src="static/images/logo4.jpg" width="802" height="180"
                 style="position:absolute;z-index:999;top:0;right:0;"/>
        </div>
    </div>
</div>
<!-- 导航栏 -->
<nav class="navbar navbar-default navbar-static-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <!-- 暂时默认当前界面为主页面，点击按钮即刷新 -->
            <a style="font-size:15px;" class="navbar-brand " href="/filter">筛选界面</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="">
                    <a href="/query">查询界面</a>
                </li>
                <li class="">
                    <a href="/train">管理员界面</a>
                </li>
                <li class="">
                    <a href="/predict">预测企业界面</a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="">
                    <a href="/">帮助</a>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="repbg1" id="stage">
    <div class="container">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>管理员模式</title>
        <div class="row" id="topPanel">
            <div class="col-xs-12">
                <div class="panel panel-default" style="margin-bottom:0;">
                    <div class="panel-body" style="background-color:#FBFBFB">
                            <span class="text-danger visible-xs"
                                  style="font-size:10px;margin-bottom:5px">大类别可左右滑动</span>
                        <br/>
                        <br/>
                        <div class="row m-10" id="submit"
                             style="border-bottom: 1px solid #EEEEEE; padding-bottom: 5px;">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">

                                <button type="button"
                                        onclick="hello()"
                                        style="padding: 0px 3px; margin-left: 450px; height:30px;width:200px; display: inline-block;"
                                        class="btn btn-default multiSelect">开始训练
                                </button>
                            </div>
                        </div>
                        <br/>
                        <br/>
                        <div class="row m-10" id="submit"
                             style="border-bottom: 1px solid #EEEEEE; padding-bottom: 5px;">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">

                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="table-responsive" style="margin-top:15px; overflow:scroll">
                        
                                                <table id="adm_table" class="table result_list table-striped table-hover"
                                                       style="min-width:1800px; width:97%" cellspacing="0" cellpadding="0" border="0">
                                                       <tbody style="border:1px solid #ddd;border-top:2px solid #ddd;">
                                                    <tr>
                                                        <td></td>
                                                        <td>聚类目标</td>
                                                        <td>企业信用-信用危机</td>
                                                        <td>企业信用-信用水平</td>
                                                        <td>企业稳定性-企业能力</td>
                                                        <td>企业稳定性-稳定水平</td>
                                                        <td>企业规模背景-企业年龄</td>
                                                        <td>企业规模背景-企业规模</td>
                                                        <td>企业风险-司法风险</td>
                                                        <td>企业风险-经营风险</td>
                                                    </tr>
                                                    <tr>
                                                        <td width=10><img src="static/images/diannao.png" /></td>
                                                        <td >簇内误方差</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>紧密性</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>间隔性</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>戴维森堡丁指数</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>邓恩指数</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>轮廓系数</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>方差比标准</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>方差</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>样本标准偏差</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>变异系数</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>信息熵</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width=30><img src="static/images/diannao.png" /></td>
                                                        <td>基尼指数</td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                        <td></td>
                                                    </tr>

                                                    </tbody>
                                                </table>
                                            </div>
                        
                     
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>


                        
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    var Keys=new Array("企业信用-信用危机","企业信用-信用水平","企业稳定性-企业能力","企业稳定性-稳定水平",
                        "企业规模背景-企业年龄","企业规模背景-企业规模","企业风险-司法风险","企业风险-经营风险")
    function hello()    //创建函数
    {
            //弹出窗口
        //这里均是测试的例子，调用的是data.js中的signal和slot，可以换成slotTrain()
        a={}
        var v=0;
        for(var j=0;j<8;j++)
            a[Keys[j]]={}
        
        for(var j=0;j<8;j++){
            for(var i=0;i<12;i++){
                a[Keys[j]][i]=v
                v++
            }
        }
       signalTrain(a);
    } 
    

</script>
</body>
</html>